package com.hhit.bigscreenbackmanage.entity.pdf;

import java.util.Arrays;

public class PdfMlTree {

    // 树id
    private String code;

    // mf_code
    private String mf_code;

    // 显示名称
    private String title;

    // 电压等级
    private String voltage;

    // 级别
    private String level;

    // 上级组织ID
    private String parentId;

    // 下级
    private PdfMlTree[] children;

    // 是否默认展开树
    private Boolean expand;

    // 是否选中
    private Boolean checked;

    // 是否显示异步加载
    private Boolean loading;

    public PdfMlTree() {
    }

    public String getMf_code() {
        return mf_code;
    }

    public void setMf_code(String mf_code) {
        this.mf_code = mf_code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getVoltage() {
        return voltage;
    }

    public void setVoltage(String voltage) {
        this.voltage = voltage;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public PdfMlTree[] getChildren() {
        return children;
    }

    public void setChildren(PdfMlTree[] children) {
        this.children = children;
    }

    public Boolean getExpand() {
        return expand;
    }

    public void setExpand(Boolean expand) {
        this.expand = expand;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public Boolean getLoading() {
        return loading;
    }

    public void setLoading(Boolean loading) {
        this.loading = loading;
    }

    @Override
    public String toString() {
        return "LineFittingTree{" +
                "code='" + code + '\'' +
                ", title='" + title + '\'' +
                ", voltage='" + voltage + '\'' +
                ", level='" + level + '\'' +
                ", parentId='" + parentId + '\'' +
                ", children=" + Arrays.toString(children) +
                ", expand=" + expand +
                ", checked=" + checked +
                ", loading=" + loading +
                '}';
    }
}
